﻿namespace Pub.Class
{
    using System;

    public class DownFileInfo
    {
        private long downloadSize;
        private string extName = string.Empty;
        private string fileName = string.Empty;
        private long fileSize;
        private string fileUrl = string.Empty;
        private bool isComplete;
        private string savePath = string.Empty;
        private int threadNum = 2;

        public long DownloadSize
        {
            get
            {
                return this.downloadSize;
            }
            set
            {
                this.downloadSize = value;
            }
        }

        public string ExtName
        {
            get
            {
                return this.extName;
            }
            set
            {
                this.extName = value;
            }
        }

        public string FileName
        {
            get
            {
                return this.fileName;
            }
            set
            {
                this.fileName = value;
            }
        }

        public long FileSize
        {
            get
            {
                return this.fileSize;
            }
            set
            {
                this.fileSize = value;
            }
        }

        public string FileUrl
        {
            get
            {
                return this.fileUrl;
            }
            set
            {
                this.fileUrl = value;
            }
        }

        public bool IsComplete
        {
            get
            {
                return this.isComplete;
            }
            set
            {
                this.isComplete = value;
            }
        }

        public string SavePath
        {
            get
            {
                return this.savePath;
            }
            set
            {
                this.savePath = value;
            }
        }

        public int ThreadNum
        {
            get
            {
                return this.threadNum;
            }
            set
            {
                this.threadNum = value;
            }
        }
    }
}

